import 'package:flutter_taotaoshipin/model/drama_interact_info_entity.dart';
import 'package:flutter_taotaoshipin/model/drama_list_entity.dart';
import 'package:flutter_taotaoshipin/model/drama_main_info_entity.dart';
import 'package:flutter_taotaoshipin/model/interact_user_sign_in_detail_entity.dart';
import 'package:flutter_taotaoshipin/model/interact_user_task_list_entity.dart';
import 'package:flutter_taotaoshipin/model/video_geturl_entity.dart';

class RecommendState {
  // 索引
  late int pageIndex;
  // 所有推荐
  late List<int> recommendDramaList;
  // 主剧信息
  late Map<int, DramaMainInfoEntity> mainInfoEntityMap;
  // 分集列表
  late Map<int, List<DramaListEntity>> dramaListEntityListMap;
  // 交互信息
  late Map<int, DramaInteractInfoEntity> dramaInteractInfoEntityMap;
  // 分集url
  late Map<int, VideoGeturlEntity> videoUrlMap;

  // 签到
  late InteractUserSignInDetailEntity? signInDetailEntity;
  // 任务
  late List<InteractUserTaskListEntity> taskList;

  RecommendState() {
    ///Initialize variables
    pageIndex = 0;
    recommendDramaList = [];

    mainInfoEntityMap = {};

    dramaListEntityListMap = {};

    dramaInteractInfoEntityMap= {};

    videoUrlMap = {};

    signInDetailEntity = null;
    taskList = [];
  }
}
